package com.baixun.gasentity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
@ApiModel(description = "系统用户实体类")
public class SysUser implements Serializable {


    @ApiModelProperty(value = "用户ID", required = true, example = "1")
    private Long id;

    @ApiModelProperty(value = "用户名", required = true, example = "张三")
    private String userName;

    @ApiModelProperty(value = "状态", example = "active")
    private String status;

    @ApiModelProperty(value = "电话号码", example = "12345678901")
    private String tel;

    @ApiModelProperty(value = "用户类型", example = "admin")
    private String type;

}
